import json

from flask import request, Blueprint
from services import service_admin, service_volunteer, service_old

other_blue = Blueprint('other', __name__)


# 管理员
@other_blue.route('/allPeople', methods=['get'])
def getAll():
    data = service_admin.get_id_name()
    data += service_old.get_id_name()
    data += service_volunteer.get_id_name()
    return json.dumps(data)





